/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package model.dao;

import java.util.List;
import javax.persistence.NoResultException;
import javax.persistence.PersistenceException;
import model.cliente.Cliente;
import model.excecoes.ErroDAOException;

/**
 *
 * @author Marcos
 */
public interface IRepositorioCliente {
    public boolean logarCliente(String login, String senha)throws ErroDAOException, PersistenceException, NoResultException;
    public boolean verificarExistencia(String cpf)throws ErroDAOException, PersistenceException, NoResultException;
    public List<Cliente> listarCliente(String campo, String consulta)throws ErroDAOException, PersistenceException, NoResultException;
}
